projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6918ac2
)
(describe_map_compare): Yet another int/Lisp_Object mixup.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 3 Jan 2006 16:54:47 +0000
(16:54 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 3 Jan 2006 16:54:47 +0000
(16:54 +0000)
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index f12a66c63267abc657be8780720d5886485fdbd4..8f462b3af7327692906252ed689125c969c33336 100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-3196,8
+3196,8
@@
describe_map_compare (aa, bb)
if (INTEGERP (a->event) && !INTEGERP (b->event))
return -1;
if (SYMBOLP (a->event) && SYMBOLP (b->event))
- return (
Fstring_lessp (a->event, b->event
) ? -1
- :
Fstring_lessp (b->event, a->event
) ? 1
+ return (
!NILP (Fstring_lessp (a->event, b->event)
) ? -1
+ :
!NILP (Fstring_lessp (b->event, a->event)
) ? 1
: 0);
return 0;
}